package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocStructTemplateInfo;

import java.util.List;
import java.util.Map;

public interface DocStructTemplateInfoMapper {
    int deleteByPrimaryKey(Long stTemplateInfoSoid) throws Exception;

    int insert(DocStructTemplateInfo record) throws Exception;

    int insertSelective(DocStructTemplateInfo record) throws Exception;

    DocStructTemplateInfo selectByPrimaryKey(Long stTemplateInfoSoid) throws Exception;

    int updateByPrimaryKeySelective(DocStructTemplateInfo record) throws Exception;

    int updateByPrimaryKey(DocStructTemplateInfo record) throws Exception;

    int findPageCount(Map<String, Object> mapParm) throws Exception;

    List<DocStructTemplateInfo> getDocStructTemplateInfoPage(Map<String, Object> mapParm) throws Exception;

    int countDefineSpace(Long defineSpaceSoid);

    int getCountName(String stTemplaetName) throws Exception;

    List<DocStructTemplateInfo> getDocStructTemplateList(Map<String, Object> mapParm) throws Exception;

    int getCountByAuthSpSoid(Map<String, Object> mapParm) throws Exception;

    List<DocStructTemplateInfo> getDocStructTemplateInfoByAuthSpSoidPage(Map<String, Object> mapParm) throws Exception;

    List<DocStructTemplateInfo> getDocStructTemplateInfoByAuthSpSoidList(Map<String, Object> mapParm) throws Exception;
}